<%-- 
    Document   : index
    Created on : 30 May, 2012, 11:28:11 PM
    Author     : bharat
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="./css/maincss.css">
        <title>Online College Magazine</title>
    </head>
    <body>
        <div class="container">
            <div class="header">
                ONLINE COLLEGE MAGAZINE
            </div>
            <div class="navigation_menu">
                <%@include file="navigationmenu.jsp"%>
            </div>
            <div class="slideshow">
                <img src="./images/collegepic.jpg" style="width: 100%;height: 100%">
            </div>
            <div class="login">
                <center><br><br>

                    <%
                        String usrnme = (String) session.getAttribute("usr");
                        if (usrnme != null) {
                    %>
                    <%@include file="display_profile.jsp"%>
                    <%                    } else {
                    %>
                    <%@include file="logIn.jsp"%></center>
                    <%}%>
            </div>

            <div class="content">
                <%@include file="home_posts.jsp"%>
            </div>
            <div class="sidebar">
             <br><br><br><br><br><br>   SIDEBAR
            </div>
            <div class="footer">
                FOOTER
            </div>
        </div>
    </body>
</html>
